home *** CD-ROM | disk | FTP | other *** search
- Article 361 of comp.sys.amiga.tech:
- Path: estinc!nud!asuvax!noao!ncar!unmvax!pprg.unm.edu!hc!ames!killer!texbell!sugar!karl
- From: karl@sugar.uu.net (Karl Lehenbauer)
- Newsgroups: comp.sys.amiga.tech
- Subject: New periodic timing routines -- multiple tasks can now share
- Message-ID: <3252@sugar.uu.net>
- Date: 10 Jan 89 02:01:06 GMT
- Organization: Sugar Land Unix - Houston, TX
- Lines: 331
-
- Below is a shar of my latest version of Paul Higginbottom's CIA timer
- routines. What's cool about this version is tasks can call a function
- LocateTimerData, which locates the interrupt's is_Data area, hence
- multiple tasks can use the same CIA timer to get a microsecond-resolution
- realtime clock. To check out the demo, compile it up, start 'ciatimer' then
- run 'ciafinder' anytime afterwards to see the elapsed seconds and microseconds
- since starting ciatimer. Ciatimer will remove the interrupt, clean up and
- exit if it gets a control-C in its CLI.
-
- The reason I didn't send this to the sources group is that it's not really big
- and it's still really beta. Flame me in mail or something if you think it's
- inappropriate. -k
-
- :
- --
- -- uunet!sugar!karl | "We've been following your progress with considerable
- -- karl@sugar.uu.net | interest, not to say contempt." -- Zaphod Beeblebrox IV
- -- Usenet BBS (713) 438-5018
-